package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.HeartMark;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HeartMarkMapper {
    int addHeartMark(HeartMark heartMark);
    int deleteHeartMark(int id);
    int updateHeartMark(HeartMark heartMark);
    List<HeartMark> findAll();
    HeartMark findById(int id);
}
